Integrand size = 21, antiderivative size = 95 \[ \int \cos ^3(c+d x) \sqrt {b \cos (c+d x)} \, dx=\frac {10 b \sqrt {\cos (c+d x)} \operatorname {EllipticF}\left (\frac {1}{2} (c+d x),2\right )}{21 d \sqrt {b \cos (c+d x)}}+\frac {10 \sqrt {b \cos (c+d x)} \sin (c+d x)}{21 d}+\frac {2 (b \cos (c+d x))^{5/2} \sin (c+d x)}{7 b^2 d} \]
2/7*(b*cos(d*x+c))^(5/2)*sin(d*x+c)/b^2/d+10/21*b*(cos(1/2*d*x+1/2*c)^2)^( 1/2)/cos(1/2*d*x+1/2*c)*EllipticF(sin(1/2*d*x+1/2*c),2^(1/2))*cos(d*x+c)^( 1/2)/d/(b*cos(d*x+c))^(1/2)+10/21*sin(d*x+c)*(b*cos(d*x+c))^(1/2)/d
Time = 0.26 (sec) , antiderivative size = 73, normalized size of antiderivative = 0.77 \[ \int \cos ^3(c+d x) \sqrt {b \cos (c+d x)} \, dx=\frac {\sqrt {b \cos (c+d x)} \left (20 \operatorname {EllipticF}\left (\frac {1}{2} (c+d x),2\right )+\sqrt {\cos (c+d x)} (23 \sin (c+d x)+3 \sin (3 (c+d x)))\right )}{42 d \sqrt {\cos (c+d x)}} \]
(Sqrt[b*Cos[c + d*x]]*(20*EllipticF[(c + d*x)/2, 2] + Sqrt[Cos[c + d*x]]*( 23*Sin[c + d*x] + 3*Sin[3*(c + d*x)])))/(42*d*Sqrt[Cos[c + d*x]])
Time = 0.44 (sec) , antiderivative size = 108, normalized size of antiderivative = 1.14, number of steps used = 9, number of rules used = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.429, Rules used = {2030, 3042, 3115, 3042, 3115, 3042, 3121, 3042, 3120}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \cos ^3(c+d x) \sqrt {b \cos (c+d x)} \, dx\) |
\(\Big \downarrow \) 2030 |
\(\displaystyle \frac {\int (b \cos (c+d x))^{7/2}dx}{b^3}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {\int \left (b \sin \left (c+d x+\frac {\pi }{2}\right )\right )^{7/2}dx}{b^3}\) |
\(\Big \downarrow \) 3115 |
\(\displaystyle \frac {\frac {5}{7} b^2 \int (b \cos (c+d x))^{3/2}dx+\frac {2 b \sin (c+d x) (b \cos (c+d x))^{5/2}}{7 d}}{b^3}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {\frac {5}{7} b^2 \int \left (b \sin \left (c+d x+\frac {\pi }{2}\right )\right )^{3/2}dx+\frac {2 b \sin (c+d x) (b \cos (c+d x))^{5/2}}{7 d}}{b^3}\) |
\(\Big \downarrow \) 3115 |
\(\displaystyle \frac {\frac {5}{7} b^2 \left (\frac {1}{3} b^2 \int \frac {1}{\sqrt {b \cos (c+d x)}}dx+\frac {2 b \sin (c+d x) \sqrt {b \cos (c+d x)}}{3 d}\right )+\frac {2 b \sin (c+d x) (b \cos (c+d x))^{5/2}}{7 d}}{b^3}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {\frac {5}{7} b^2 \left (\frac {1}{3} b^2 \int \frac {1}{\sqrt {b \sin \left (c+d x+\frac {\pi }{2}\right )}}dx+\frac {2 b \sin (c+d x) \sqrt {b \cos (c+d x)}}{3 d}\right )+\frac {2 b \sin (c+d x) (b \cos (c+d x))^{5/2}}{7 d}}{b^3}\) |
\(\Big \downarrow \) 3121 |
\(\displaystyle \frac {\frac {5}{7} b^2 \left (\frac {b^2 \sqrt {\cos (c+d x)} \int \frac {1}{\sqrt {\cos (c+d x)}}dx}{3 \sqrt {b \cos (c+d x)}}+\frac {2 b \sin (c+d x) \sqrt {b \cos (c+d x)}}{3 d}\right )+\frac {2 b \sin (c+d x) (b \cos (c+d x))^{5/2}}{7 d}}{b^3}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {\frac {5}{7} b^2 \left (\frac {b^2 \sqrt {\cos (c+d x)} \int \frac {1}{\sqrt {\sin \left (c+d x+\frac {\pi }{2}\right )}}dx}{3 \sqrt {b \cos (c+d x)}}+\frac {2 b \sin (c+d x) \sqrt {b \cos (c+d x)}}{3 d}\right )+\frac {2 b \sin (c+d x) (b \cos (c+d x))^{5/2}}{7 d}}{b^3}\) |
\(\Big \downarrow \) 3120 |
\(\displaystyle \frac {\frac {5}{7} b^2 \left (\frac {2 b^2 \sqrt {\cos (c+d x)} \operatorname {EllipticF}\left (\frac {1}{2} (c+d x),2\right )}{3 d \sqrt {b \cos (c+d x)}}+\frac {2 b \sin (c+d x) \sqrt {b \cos (c+d x)}}{3 d}\right )+\frac {2 b \sin (c+d x) (b \cos (c+d x))^{5/2}}{7 d}}{b^3}\) |
((2*b*(b*Cos[c + d*x])^(5/2)*Sin[c + d*x])/(7*d) + (5*b^2*((2*b^2*Sqrt[Cos [c + d*x]]*EllipticF[(c + d*x)/2, 2])/(3*d*Sqrt[b*Cos[c + d*x]]) + (2*b*Sq rt[b*Cos[c + d*x]]*Sin[c + d*x])/(3*d)))/7)/b^3
3.1.68.3.1 Defintions of rubi rules used
Int[(Fx_.)*(v_)^(m_.)*((b_)*(v_))^(n_), x_Symbol] :> Simp[1/b^m Int[(b*v) ^(m + n)*Fx, x], x] /; FreeQ[{b, n}, x] && IntegerQ[m]
Int[((b_.)*sin[(c_.) + (d_.)*(x_)])^(n_), x_Symbol] :> Simp[(-b)*Cos[c + d* x]*((b*Sin[c + d*x])^(n - 1)/(d*n)), x] + Simp[b^2*((n - 1)/n) Int[(b*Sin [c + d*x])^(n - 2), x], x] /; FreeQ[{b, c, d}, x] && GtQ[n, 1] && IntegerQ[ 2*n]
Int[1/Sqrt[sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Simp[(2/d)*EllipticF[(1/2 )*(c - Pi/2 + d*x), 2], x] /; FreeQ[{c, d}, x]
Int[((b_)*sin[(c_.) + (d_.)*(x_)])^(n_), x_Symbol] :> Simp[(b*Sin[c + d*x]) ^n/Sin[c + d*x]^n Int[Sin[c + d*x]^n, x], x] /; FreeQ[{b, c, d}, x] && Lt Q[-1, n, 1] && IntegerQ[2*n]
Time = 3.46 (sec) , antiderivative size = 208, normalized size of antiderivative = 2.19
method | result | size |
default | \(-\frac {2 \sqrt {\left (2 \left (\cos ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-1\right ) b \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, b \left (48 \left (\cos ^{9}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-120 \left (\cos ^{7}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+128 \left (\cos ^{5}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-72 \left (\cos ^{3}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+5 \sqrt {\frac {1}{2}-\frac {\cos \left (d x +c \right )}{2}}\, \sqrt {-2 \left (\cos ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+1}\, F\left (\cos \left (\frac {d x}{2}+\frac {c}{2}\right ), \sqrt {2}\right )+16 \cos \left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{21 \sqrt {-b \left (2 \left (\sin ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-\left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )\right )}\, \sin \left (\frac {d x}{2}+\frac {c}{2}\right ) \sqrt {\left (2 \left (\cos ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-1\right ) b}\, d}\) | \(208\) |
-2/21*((2*cos(1/2*d*x+1/2*c)^2-1)*b*sin(1/2*d*x+1/2*c)^2)^(1/2)*b*(48*cos( 1/2*d*x+1/2*c)^9-120*cos(1/2*d*x+1/2*c)^7+128*cos(1/2*d*x+1/2*c)^5-72*cos( 1/2*d*x+1/2*c)^3+5*(sin(1/2*d*x+1/2*c)^2)^(1/2)*(-2*cos(1/2*d*x+1/2*c)^2+1 )^(1/2)*EllipticF(cos(1/2*d*x+1/2*c),2^(1/2))+16*cos(1/2*d*x+1/2*c))/(-b*( 2*sin(1/2*d*x+1/2*c)^4-sin(1/2*d*x+1/2*c)^2))^(1/2)/sin(1/2*d*x+1/2*c)/((2 *cos(1/2*d*x+1/2*c)^2-1)*b)^(1/2)/d
Result contains higher order function than in optimal. Order 9 vs. order 4.
Time = 0.11 (sec) , antiderivative size = 88, normalized size of antiderivative = 0.93 \[ \int \cos ^3(c+d x) \sqrt {b \cos (c+d x)} \, dx=\frac {2 \, \sqrt {b \cos \left (d x + c\right )} {\left (3 \, \cos \left (d x + c\right )^{2} + 5\right )} \sin \left (d x + c\right ) - 5 i \, \sqrt {2} \sqrt {b} {\rm weierstrassPInverse}\left (-4, 0, \cos \left (d x + c\right ) + i \, \sin \left (d x + c\right )\right ) + 5 i \, \sqrt {2} \sqrt {b} {\rm weierstrassPInverse}\left (-4, 0, \cos \left (d x + c\right ) - i \, \sin \left (d x + c\right )\right )}{21 \, d} \]
1/21*(2*sqrt(b*cos(d*x + c))*(3*cos(d*x + c)^2 + 5)*sin(d*x + c) - 5*I*sqr t(2)*sqrt(b)*weierstrassPInverse(-4, 0, cos(d*x + c) + I*sin(d*x + c)) + 5 *I*sqrt(2)*sqrt(b)*weierstrassPInverse(-4, 0, cos(d*x + c) - I*sin(d*x + c )))/d
Timed out. \[ \int \cos ^3(c+d x) \sqrt {b \cos (c+d x)} \, dx=\text {Timed out} \]
\[ \int \cos ^3(c+d x) \sqrt {b \cos (c+d x)} \, dx=\int { \sqrt {b \cos \left (d x + c\right )} \cos \left (d x + c\right )^{3} \,d x } \]
\[ \int \cos ^3(c+d x) \sqrt {b \cos (c+d x)} \, dx=\int { \sqrt {b \cos \left (d x + c\right )} \cos \left (d x + c\right )^{3} \,d x } \]
Timed out. \[ \int \cos ^3(c+d x) \sqrt {b \cos (c+d x)} \, dx=\int {\cos \left (c+d\,x\right )}^3\,\sqrt {b\,\cos \left (c+d\,x\right )} \,d x \]